package org.nimi317.web_gis.form.post;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

/**
 * @author thunderobot
 */
@Data
public class ModelPredictPost {

    @NotBlank(message = "模型ID不能为空")
    @Pattern(regexp = "^[1-9]+[0-9]*$", message = "模型ID格式不正确")
    private String modelId;

    @NotEmpty
    private double[][] input;
}
